package com.xiaoba.shoppingcart.domain;

import java.math.BigDecimal;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.xiaoba.common.core.annotation.Excel;
import com.xiaoba.common.core.web.domain.BaseEntity;

/**
 * 购物车对象 cart
 *
 * @author gd
 * @date 2024-06-07
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Cart extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 购物车id */
    private String shoppingcartId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long shoppingcartUserId;

    /** 选中明细数量 */
    @Excel(name = "选中明细数量")
    private Long shooppingcartDetailCount;

    /** 选中明细总价 */
    @Excel(name = "选中明细总价")
    private BigDecimal shoppingcartDetailSum;


}
